import request from '@/plugins/axios'

export function queryBuildingGeneral(id) {
    return request({
        url: '/api/building/queryBuildingGeneral/' + id,
        method: 'get'
    })
}
export function queryBuildingTab(id, query) {
    return request({
        url: '/api/building/queryBuildingTab/' + id + '?buildingName=' + query,
        method: 'get',
    })
}
export function queryRoomTab(id) {
    return request({
        url: '/api/building/queryRoomTab/' + id,
        method: 'get'
    })
}

//纠错发送
export function sendMsg(msg) {
    return request({
        url: '/api/sysinfo/sendMsg',
        method: 'post',
        data: msg
    })
}


